home *** CD-ROM | disk | FTP | other *** search
- Path: news.ultranet.com!usenet
- From: "Albert P. Belle Isle" <belleisl@cerberus-sys.com>
- Newsgroups: alt.winsock,alt.winsock.trumpet,comp.dcom.modems
- Subject: Re: Is 2K(bytes) per second avg reasonable x-fer rate for 28,800 V34 modem?
- Date: 30 Jan 1996 17:33:34 GMT
- Organization: Cerberus Systems, Inc.
- Message-ID: <4elkpe$7is@caesar.ultra.net>
- References: <4edrr2$bcr@nntp.ucs.ubc.ca>
- NNTP-Posting-Host: apb-p5-90.cerberus-sys.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
-
- cree@unixg.ubc.ca (Robert Ree) wrote:
- >I just downloaded the Eudora EU154b11.EXE file at 2,036K from
- >Qualcomm's FTP site via Al Junod's 32bit WS_FTP, and it took just
- >over 16 minutes.
- >
- >Am I calculating this correctly:
- >
- >A 2,036K file took 16+ minutes to download. 16*60=960, so lets say
- >1,000 seconds (rounding up) to download 2,036Kilobytes, which is 2K+ a
- >second.
- >The rate shown by WS-FTP during download varied from 3.1 down to 1.6
- >but most often was shown at 2.14.
- >
- >2Kilobytes a second would be 2K*8=16Kilobits a second, or 16,000 bps.
- >
- >Equipment:
- >
- >486dx33
- >12MEGS
- >Hayes ACCURA 28,000 V34 - internal (16550 UART supposedly ...)
- >Windows95 internal 32bit TCP/IP stack (DUN)
- >Connection with IP establlished at 115,200bps
- >Other than RoboDUN, no other windows open.
- >
- >Is this the best I can expect?
- >
- >Who has some numbers to compare this with?
- >
- >Thanks.
- >
- >Robert
- >
- >
- >
- >
- >Equipment:
- >
- >
- >----------------------------
- >Robert Ree
- >e-mail: cree@unixg.ubc.ca
- >-----------------------------
- >
-
- Robert:
-
- I think you'll find that the best that a TCP/IP session can do over a
- SLIP or PPP connection is limited by the speed of the modem. A 28.8Kbps
- modem can never keep up with a 1544 Kbps (or faster) internet path.
-
- (Although, if your retail access provider buys his wholesale access at
- 56Kbps, you might never get the chance to try <g>.)
-
- With an uncompressible (already compressed) file, you should be able to
- get 3.2KBytes/sec for a 28.8Kbps connection, 2.7KBytes/sec for a 24Kbps
- connection, etc. Obviously, downloading compressible files should give
- correspondingly greater effective transfer rates with V.42bis data
- compression.
-
- (This, of course, has nothing to do with Van Jacobson header compression
- - the disabling of which could drop 3.2KBytes/sec to 3.1 or even 3.0
- KBytes/sec, depending on packet size.)
-
- If you observe such transfer rates at some points in a download, but the
- overall average is less, that average had to have been reduced by pauses
- between TCP/IP packet transfers.
-
- If the pauses were just due to the fact that the server was too busy to
- send as fast as you could receive, turning-on TCP Trace (if you were a
- Trumpet WinSock user) would show a smooth sequence of MSS-sized segment
- transfers, but with pauses. In that case, if you turned-on Trumpet
- TCPMeter, you'd be able to open a second window to another server and see
- yourself using the difference between the average file download rate and
- 3.2KBytes/sec for a second download from that different server.
-
- If the problem was IP routing congestion on the then-available paths
- between you and the server, RTOmax time-outs by the server (waiting for
- your ACKs) would cause him to re-transmit, resulting in "unacceptable
- segments" and TCP re-synchronization pauses. (Out-of-order segments that
- took different routing paths through the Internet could cause similar
- pauses.)
-
- There's not much you can do about a busy Internet.
-
- However, if you failed to ACK because of damaged packets, you might be
- experiencing PPP frame check errors, which would also result in pauses
- for re-transmission.
-
- These could be due to com overrun errors caused by your machine not
- servicing com port interrupts fast enough to keep up with the rate you
- promised the modem in your com port setting.
-
- They could also be due to inadvertently disabling your V.42 error
- correction, which you might not notice on a very clean phone line. (On a
- line with any amount of noise, you'd find that the error rate would swamp
- TCP/IP and that PPP would probably hang-up your connection.)
-
- These are problems in your data link layer, and should be eliminated.
-
- Similarly, if you and the server agreed on a TCP MSS that was not less
- than the smallest IP MTU of all the routers between you (minus 40 bytes
- for headers), you'd be getting slowdown from IP packet fragmentation.
-
- If your TCP RWIN was set to more than the size of the number of TCP data
- segments that would fit in the number of IP packet buffers your Internet
- service provider allocates per dial-in port, the resulting dropped
- segments would also cause re-transmission pauses.
-
- These are problems in your TCP/IP layers, that should also be eliminated.
-
- I've put together a tutorial on WinSock speed-tuning at the URL listed in
- my signature block, if you're interested in further elaboration (with
- real words substituting for the acronyms <g>).
-
- Regards,
-
- Al
-
-
- --
- ==================================================================
- Albert P. Belle Isle
- Cerberus Systems, Inc.
-
- Al's Winsock Tuning FAQ -
- http://www.cerberus-sys.com/~belleisl/mtu_mss_rwin.html
- ==================================================================
-
-
-